from Common.Base import *
browse_url="http://localhost:8080/ecshop/index.php"
class BrowseGoodsPage(Base):
    camera_loc=('css selector','img[alt="智能相机"]')  # 智能相机的定位器
    balancing_car_loc=('css selector','img[alt="平衡车"]')  # 平衡车的定位器
    def click_camera(self):
        '''
        点击智能相机
        :return:
        '''
        self.click(self.camera_loc)
    def click_balancing_car_loc(self):
        '''
        点击平衡车
        :return:
        '''
        self.click(self.balancing_car_loc)